<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
	<TITLE></TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.4  (Linux)">
	<META NAME="CREATED" CONTENT="0;0">
	<META NAME="CHANGEDBY" CONTENT="David Young">
	<META NAME="CHANGED" CONTENT="20090913;8480900">
</HEAD>
<BODY LANG="en-US" DIR="LTR">
<PRE>


<A HREF="CAD_using_en.htm">See operation function CAD ..</A>

<h2>CAD function Circle</h2>

Also see Circle codes

Circles use shortcut key C (Circle)



<p><a name="F0"></a></p>
<h2>CIR Cen Radius [Z-Axis]</h2>
Circle from centre, radius [Arc Vector]

# Circle (360-degree)
C20 = P20 VAL(25) DZ


<A NAME="F1"></A>
<h2>CIR Cen Tang</h2>
Circle from center, tangential to element.
   Centerpoint   center of new circle.
   Tang          tangent-element:    point, line, circle or polygon;
                   line or circle in CCV.
   [Version]     only for tangent to circle: 1=small circle, 2=big circle.

# Center, tangential to line or circle
C1 = P1 L1
C1 = P1 C1


<p><a name="F2"></a></p>
<h2>CIR Tang Tang Radius [Version]</h2>
Circles, tangential to two elements, with a fixed radius and position indication.
   Element: (currently only) point, line or arc.
   Version: 1 - 8 (there are up to 8 solutions. Select with PgUp/PgDown keys).

<img src="doc_C_tng__.jpg">

# Tangential to 2 elements, radius.
# C1 = P1, L1, Radius, Side
# C2 = P1, C1, Radius, Side
# C5 = L1, L2, Radius, Side
# C5 = L1, C1, Radius, Side
# C5 = C1, C2, Radius, Side
L1 = X(10)
L2 = Y(10)
C1 = L1 L2 VAL(5) MOD(1)

# 2 points on the circumference, radius.
# C1 = P1 P2 radius side Z-Axis Vector
P20 = P(98.6 5.4 0)
P21 =  (114.5 -15.2 0)
C22 = P20 P21 VAL(12) MOD(1) DZ

# Point on the perimeter, tangent, radius.
# C1 = P1 L1 radius side
L20 = P (44.6 -32.8 0) P (86.5 -69.3 0)
P26 = P (56.2 -35.5 0)
C21 = P26 L20 VAL (8) MOD (2)

# Point on the perimeter, tangent to a circle.
# C2 = P1 C1 radius side
C20 = P(114.5 -15.2 0) VAL(12) DZ
P27 = P(96.9 -19.7 0)
C21 = P27 C20 VAL(8) MOD(1)


<p><a name="F3"></a></p>
<h2>CIR Tang Tang Tang [Version]</h2>
Circle tangential to 3 elements.
   Element: (currently only) point, line or arc.
   Version: 1 - 8 (there are up to 8 solutions; PgUp/PgDown keys).

Entry points must exactly on an input element.

# Circle between 3 lines
C20 = L20 L21 L22


<p><a name="F4"></a></p>
<h2>ARC Cen Ang1 Ang2 Radius   [Direction of Rotation]</h2>
Circular arc by center, start angle, end angle and radius.
   Direction of Rotation: CW shows clockwise, the default is CCW (counter clockwise).

# Central quadrant, R = 10, clockwise.
C21 = ARC P20 ANG(0) ANG(90) 10 CW


<p><a name="F5"></a></p>
<h2>ARC Cen PT Angle [Z-Axis] ARC</h2>
Arc through centre, starting point and opening angle.
   Arc vector is optional.

# Focal starting point quarter
C21 = ARC P20 P21 ANG(90) DZ


<p><a name="F6"></a></p>
<h2>ARC PT PT Radius [Z-Axis] [CW/CCW] [Version]      ARC</h2>
Circular arc by starting point, end point and radius.
   Z-axis-vector is optional.
   Version 1 and Default = openingAngle 0-180 degree
   Version 2 = openingAngle 180-360 degree


# Arc from start point to endpoint radius arc vector
C21 = ARC P(251 23 0) P(189 75 0) VAL(50) DZ


<p><a name="F7"></a></p>
<h2>ARC PT Tang Radius [Angle] [Z-Axis] [CW/CCW]    ARC</h2>
Circular arc by starting point, starting direction and radius.
   Starting direction: the tangent-direction to the circle in the starting point.
     Vector, line, circle, polygon, ellipsis, b-spline, clothoid.
   Radius.
   Angle: opening-angle, optional. Default is 360 degrees.
   Axis-vector: optional. Invert vector to change side (eg "DIZ").
   [CW/CCW] is the direction of rotation. Change with PageUp-key.

# Example: Final tangent of a clothoid (spiral-form curve) as a starting direction.
S20 = CLOT P(0 0 0) DX ANG(30) 0 10
P20 = P(S20 1)
D20 = TNG P20 S20
C20 = ARC P20 D20 25 ANG(30)


<p><a name="F8"></a></p>
<h2>ARC PT PT Cen [Z-Axis] [CW/CCW]      ARC</h2>
Circular arc by starting point, end point and center
   Arc vector is optional.
   [CW/CCW] is the direction of rotation. Default is &quot;CW&quot;.
C20=ARC P(10,6) P(16 0) DIZ


<p><a name="F9"></a></p>
<h2>ARC PT PT PT  [CW/CCW]         ARC1</h2>
Arc by three points on the perimeter.
   [CW/CCW] is the direction of rotation. Default is &quot;CW&quot;.

C20 = ARC1 P(0 0) P(10 0) P(10 10)


-------------------------------------------------- ----------------
Others:

# change sense of rotaion of existing circle
C2=C1,REV


</PRE>
</BODY>
</HTML>
